package com.zyf.pattern.adapter;

import com.zyf.pattern.adapter.passport.SiginForThirdService;

/**
 * create by yifeng
 */
public class SiginForThirdServiceTest {
    public static void main(String[] args) {
        SiginForThirdService service = new SiginForThirdService();

        // 不改变原来的代码，也能够兼容新的需求
        // 还可以在加一层策略模式
        service.loginForQQ("34342944re0");

    }
}
